<!--<?php
print <<<EOT
-->

<td valign="top">
<table width="100%"  border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="left" valign="top">
    

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" valign="top" class="ytitle">Shopping Cart</td>
  </tr>
  <tr>
    <td height="20" align="left" valign="top" >Review the item(s) in your cart and shipping details, then click "Confirm" to proceed. </td>
  </tr>
  <tr>
    <td height="25" align="left" valign="top" >
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr align="left">
          <td width="150" height="50" colspan=2>Delivery country :{$COUNTRY_ARY[$set_country]}</td>
        </tr>
      </table>
  </tr>
</table>

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="21" align="left" bgcolor="#b5c3d6" class="whitefont"><img src="images/transparent.gif" width="4" height="10" align="absmiddle">Shopping Cart Items</td>
  </tr>
  <tr>
    <td height="88" align="left" valign="top" >
      <table width="100%"  border="0" cellspacing="0" cellpadding="3">
        <tr>
          <td bgcolor="#e0e7ee" width="9%">Type</td>
          <td bgcolor="#e0e7ee" width="40%">Item</td>
          <td bgcolor="#e0e7ee" width="8%">Price(DKK)</td>
          <td bgcolor="#e0e7ee" width="5%">Quantity</td>
          <td bgcolor="#e0e7ee" width="12%" colspan=2>Total(DKK)</td>
        </tr>
        
<!--
EOT;
foreach ($info_ary as $k=>$v) {
print <<<EOT
-->          
        
        <tr>
          <td >{$v['type']} </td>
          <td >{$v['name']} <br /></td>
          <td >{$v['old_price']} </td>
          <td >{$v['count']}</td>
          <td colspan=2>{$v['cost']} </td>
        </tr>
        
<!--
EOT;
}
print <<<EOT
-->           
        
        
        
        <tr>
          <td colspan="6" ><hr size="1" noshade color="#ececec"></td>
        </tr>
        
        <tr>
          <td >&nbsp;</td>
          <td >&nbsp;</td>
          <td colspan="2" class="title03">Sub Total</td>
          <td width="100" colspan=2> DKK {$total_cost}</td>
        </tr>
        
<!--
EOT;
if ($cart_discount>0) {
print <<<EOT
-->          
        
        <tr>
          <td >&nbsp;</td>
          <td >&nbsp;</td>
          <td colspan="2" class="title03">Discount</td>
          <td width="100" colspan=2> DKK {$cart_discount}</td>
        </tr>
        
        <tr>
          <td >&nbsp;</td>
          <td >&nbsp;</td>
          <td colspan="2" class="title03">New Sub Total</td>
          <td width="100" colspan=2> DKK {$new_total_cost}</td>
        </tr>
        
<!--
EOT;
}
print <<<EOT
-->  


        <tr>
          <td >&nbsp;</td>
          <td >&nbsp;</td>
          <td colspan="2" class="title03" >VAT</td>
          <td  colspan=2> DKK {$cart_addvat} </td>
        </tr>
        <tr>
          <td >&nbsp;</td>
          <td >&nbsp;</td>
          <td colspan="2" class="title03">Shipping Fee</td>
          <td  colspan=2> DKK {$cart_addshippingfee} </td>
        </tr>
        <tr>
          <td >&nbsp;</td>
          <td ><div align="right" class="title03"></div></td>
          <td colspan="2" class="title03">Total</td>
          <td bgcolor="#e0e7ee" colspan=2> DKK {$total_cost2} </td>
        </tr>
        <tr>
          <td colspan=6 height="20">&nbsp;</td>          
        </tr>
      </table>
    </td>
  </tr>
</table>


<form method="post" action="{$pay_url}" name="form3" onSubmit="return checkForm(form3);">
<table width="100%"  border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td colspan=2 class="ytitle">Your Personal Information :</td>
  </tr>
  <tr>
    <td width="250" >Company :</td>
    <td>{$user_info_ary['company']}</td>
  </tr>
  <tr>
    <td >First Name* :</td>
    <td>{$user_info_ary['firstname']}</td>
  </tr>
  <tr>
    <td >Last Name* :</td>
    <td>{$user_info_ary['lastname']}</td>
  </tr>
  <tr>
    <td>Address* :</td>
    <td></td>
  </tr>
  <tr>
    <td ></td>
    <td>{$user_info_ary['street']}</td>
  </tr>
  <tr>
    <td ></td>
    <td>{$user_info_ary['city']}</td>
  </tr>
  <tr>
    <td ></td>
    <td>{$user_info_ary['state']}</td>
  </tr>
  <tr>
    <td ></td>
    <td>{$user_info_ary['zip']}</td>
  </tr>
  <tr>
    <td ></td>
    <td>{$user_info_ary['country']}</td>
  </tr>
  <tr>
    <td >Phone* :</td>
    <td>{$phone}</td>
  </tr>
  <tr>
    <td >Mobile :</td>
    <td>{$mobile}</td>
  </tr>
  <tr>
    <td >Email* :</td>
    <td>{$user_info_ary['email']}</td>
  </tr>
  
  <tr>
    <td colspan="2" height="10"></td>
  </tr>
  <tr>
    <td valign="top"  class="ytitle">Delivery Address :</td>
    <td></td>
  </tr>
  <tr>
    <td></td>
    <td>{$user_street}</td>
  </tr>
  <tr>
    <td></td>
    <td>{$user_city}</td>
  </tr>
  <tr>
    <td></td>
    <td>{$user_zip}</td>
  </tr>
  <tr>
    <td></td>
    <td>{$user_state}</td>
  </tr>
  <tr>
    <td></td>
    <td>{$user_country}</td>
  </tr>
  <tr>
    <td colspan="2" height="10"></td>
  </tr>
  <tr>
    <td colspan="2" height="10"></td>
  </tr>
  
<!--
EOT;
if ($promoter_id>0) {
print <<<EOT
-->   
  
  <tr>
    <td class="ytitle" colspan=2>Referred by Promoter No. :</td>
  </tr>
  <tr>
    <td>Promoter's Id :</td>
    <td>{$promoter_id}</td>
  </tr>
  <tr>
    <td>Promoter's Name :</td>
    <td>{$promoter_name}</td>
  </tr>
  
<!--
EOT;
}
print <<<EOT
-->    
  
  <tr>
    <td colspan="2" height="10"></td>
  </tr>
  
  
  
  
  <tr>
    <td class="ytitle" colspan=2>Payment Method :</td>
  </tr>
  <tr>
    <td>Card Type :</td>
    <td>{$card_type_show}</td>
  </tr>
  <tr>
    <td>Card holder'name :</td>
    <td>{$card_name}</td>
  </tr>
  <tr>
    <td>Card number* :</td>
    <td>{$card_number}</td>
  </tr>
  <tr>
    <td>Expiry Date* :</td>
    <td>{$card_emonth}/{$card_eyear}</td>
  </tr>
  <tr>
    <td>Security Code* :</td>
    <td>{$card_cvc}</td>
  </tr>
  
  
  
  
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

<table width="100%"  border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td colspan=2>Yes, I have read and accepted Acuity World WebShop <a href="delivery_policy.php" target="_blank" style="text-decoration:underline">Terms of Sale and Delivery</a> *</td>
  </tr>
  
<!--
EOT;
if ($faq2_checked == 1) {
print <<<EOT
--> 
  
  <tr>
    <td colspan=2>Yes, please send me the Acuity World Newsletter</td>
    </td>
  </tr>
  
<!--
EOT;
}
print <<<EOT
-->   

  <tr>
    <td colspan=2 height=20></td>
  </tr>
  
  <tr>
    <td colspan=2 align=right>
    <input name="back" type="button" class="inputbt" onClick="location.href('http://{$paymentBOX['mydomain']}{$paymentBOX['path']}shopping_cart.php?modify');" value="Modify">
    <input name="pay_submit" type="submit" class="inputbt" value="Confirm"></td>
  </tr>
</table>

<input type="hidden" name="uid" value="{$_POST['uid']}">

<input type="hidden" name="user_street" value="{$user_street}">
<input type="hidden" name="user_city" value="{$user_city}">
<input type="hidden" name="user_state" value="{$user_state}">
<input type="hidden" name="user_zip" value="{$user_zip}">
<input type="hidden" name="user_country" value="{$user_country}">
 
<input type="hidden" name="pay_method" value="{$pay_method}">
<input type="hidden" name="card_type" value="{$card_type}">
<input type="hidden" name="card_name" value="{$card_name}">
<input type="hidden" name="card_number" value="{$card_number}">
<input type="hidden" name="card_emonth" value="{$card_emonth}">
<input type="hidden" name="card_eyear" value="{$card_eyear}">
<input type="hidden" name="card_cvc" value="{$card_cvc}">

</form>



</tr>
</table>
</td>

<!--
EOT;
?>-->